<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>

    <!-- 基本样式 -->
    <link rel="stylesheet" href="../src/mixins/style/normalize.css" />
    <link rel="stylesheet" href="../src/com_third/font-awesome/css/font-awesome.css">
    <link rel="stylesheet" href="../src/mixins/style/base.css" />

    <!-- 当时项目公共样式 -->
    <link rel="stylesheet" href="src/common.css" />

    <!-- 最新版本的 Bootstrap 核心 CSS 文件 -->
    <link rel="stylesheet" href="../src/lib/bootstrap.min.css" />

    <style>
        body {
            background-color: white;
            padding: 20px;
        }

        .m-card {
            margin-top: 20px;
        }
    </style>
</head>

<body>

    <div v-cloak class="container-fluid clearfix" id="app">

        <div class="alert alert-danger mt_20" role="alert">动态 Prop</div>
        <div class="alert alert-danger mt_20" role="alert">Vuex</div>
        <div class="alert alert-danger mt_20" role="alert">Bus</div>
        <div class="alert alert-danger mt_20" role="alert">引入类型对象数据源</div>

        <m-card title="父组件=>子组件: props">
            <m-card title="父组件">
                <input type="text" class="form-control" placeholder="" v-model="parentMsg">
            </m-card>

            <m-card title="子组件">
                <child :message.sync="parentMsg"></child>
            </m-card>
        </m-card>

        <my-component class="mt_20" :propa="propa" :propb="propb" :a="1" :b="2"></my-component>

    </div>

    <script src="../src/lib/jquery.js"></script>
    <script src="../src/lib/sea-all.js"></script>
    <script src="../src/lib/vue.js"></script>

    <script src="../boot.js"></script>

    <script>
        $(function () {
            seajs.use('./07_01_trans.js');
        })
    </script>

</body>

</html>